package com.hrprojectback.dto;

import org.springframework.stereotype.Component;

@Component
public class Role {
    private Integer roleId;//角色id

    private String roleSign;//角色标识

    private String name;//角色名称

    private String status;//员工状态

    private String remark;//备注

    public Role() {
    }

    public Role(Integer roleId, String roleSign, String name, String status, String remark) {
        this.roleId = roleId;
        this.roleSign = roleSign;
        this.name = name;
        this.status = status;
        this.remark = remark;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleSign() {
        return roleSign;
    }

    public void setRoleSign(String roleSign) {
        this.roleSign = roleSign;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", roleSign='" + roleSign + '\'' +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
